<style include="app-management-cros-shared-css">
  #no-permissions {
    border-top: none;
  }
</style>
<div class="permission-list">
  <app-management-pin-to-shelf-item
      id="pin-to-shelf-setting"
      class="permission-card-row separated-row"
      app="[[app_]]">
  </app-management-pin-to-shelf-item>
  <app-management-permission-item id="notifications-card"
      class="permission-card-row separated-row"
      app_="[[app_]]"
      permission-label="$i18n{appManagementNotificationsLabel}"
      permission-type="kNotifications">
  </app-management-permission-item>
  <div id="permissions-card"
      class="permission-card-row">
    <div id="subpermission-expand-row"
        class="permission-section-header">
      <div class="header-text">$i18n{appManagementPermissionsLabel}</div>
    </div>
    <div id="subpermission-list"
        class="permission-list indented-permission-block">
      <app-management-permission-item class="subpermission-row"
          app_="[[app_]]"
          icon="app-management:location"
          permission-label="$i18n{appManagementLocationPermissionLabel}"
          permission-type="kLocation">
      </app-management-permission-item>
      <app-management-permission-item class="subpermission-row"
          app_="[[app_]]"
          icon="app-management:camera"
          permission-label="$i18n{appManagementCameraPermissionLabel}"
          permission-type="kCamera">
      </app-management-permission-item>
      <app-management-permission-item class="subpermission-row"
          app_="[[app_]]"
          icon="app-management:microphone"
          permission-label="$i18n{appManagementMicrophonePermissionLabel}"
          permission-type="kMicrophone">
      </app-management-permission-item>
      <app-management-permission-item class="subpermission-row"
          app_="[[app_]]"
          icon="app-management:contacts"
          permission-label="$i18n{appManagementContactsPermissionLabel}"
          permission-type="kContacts">
      </app-management-permission-item>
      <app-management-permission-item class="subpermission-row"
          app_="[[app_]]"
          icon="app-management:storage"
          permission-label="$i18n{appManagementStoragePermissionLabel}"
          permission-type="kStorage">
      </app-management-permission-item>
      <template is="dom-if" if="[[noPermissionsRequested_(app_)]]">
        <div id="no-permissions" class="permission-text-row">
          $i18n{appManagementNoPermissions}
        </div>
      </template>
    </div>
  </div>
  <app-management-resize-lock-item
      id="resize-lock-setting"
      class="permission-card-row separated-row row-with-description"
      app="[[app_]]">
  </app-management-resize-lock-item>
  <app-management-more-permissions-item id="more-settings"
      class="permission-card-row separated-row" app="[[app_]]"
      more-permissions-label="$i18n{appManagementMorePermissionsLabel}">
  </app-management-more-permissions-item>
  <app-management-supported-links-item
      id="supportedLinksSetting"
      class="permission-card-row"
      app="[[app_]]">
  </app-management-supported-links-item>
</div>
